home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1998-06-18 | 3.5 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| MS-DOS Code Page Info (other/dosCodePage)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Thu Jun 18 12:48:47 1998, modified Thu Jun 18 12:48:47 1998, creator 'CWIE', type ASCII, 2852 bytes "Solution.cp" , at 0xba4 410 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 53 6f 6c 75 74 69 | 6f 6e 2e 63 70 00 00 00 |..Soluti|on.cp...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 0b 24 00 | 00 01 9a b1 ae f5 6f b1 |......$.|......o.|
|00000060| ae f5 6f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..o.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 56 4b 00 00 |........|....VK..|
|00000080| 2f 2a 0d 50 72 6f 62 6c | 65 6d 20 30 35 20 2d 20 |/*.Probl|em 05 - |
|00000090| 44 61 74 61 62 61 73 65 | 0d 0d 74 79 70 65 0d 09 |Database|..type..|
|000000a0| 53 74 72 69 6e 67 73 48 | 61 6e 64 6c 65 20 3d 20 |StringsH|andle = |
|000000b0| 48 61 6e 64 6c 65 3b 20 | 2f 2f 20 53 65 71 75 65 |Handle; |// Seque|
|000000c0| 6e 63 65 20 6f 66 20 50 | 61 73 63 61 6c 20 53 74 |nce of P|ascal St|
|000000d0| 72 69 6e 67 73 20 70 61 | 63 6b 65 64 20 74 6f 67 |rings pa|cked tog|
|000000e0| 65 74 68 65 72 0d 09 44 | 61 74 61 62 61 73 65 48 |ether..D|atabaseH|
|000000f0| 61 6e 64 6c 65 20 3d 20 | 48 61 6e 64 6c 65 3b 20 |andle = |Handle; |
|00000100| 2f 2f 20 4d 75 73 74 20 | 62 65 20 61 20 72 65 61 |// Must |be a rea|
|00000110| 6c 20 68 61 6e 64 6c 65 | 0d 09 0d 70 72 6f 63 65 |l handle|...proce|
|00000120| 64 75 72 65 20 44 61 74 | 61 62 61 73 65 49 6e 69 |dure Dat|abaseIni|
|00000130| 74 28 20 76 61 72 20 64 | 61 74 61 62 61 73 65 3a |t( var d|atabase:|
|00000140| 20 48 61 6e 64 6c 65 3b | 20 66 69 65 6c 64 5f 63 | Handle;| field_c|
|00000150| 6f 75 6e 74 3a 20 55 49 | 6e 74 33 32 20 29 3b 0d |ount: UI|nt32 );.|
|00000160| 70 72 6f 63 65 64 75 72 | 65 20 44 61 74 61 62 61 |procedur|e Databa|
|00000170| 73 65 41 64 64 45 6e 74 | 72 79 28 20 64 61 74 61 |seAddEnt|ry( data|
|00000180| 62 61 73 65 3a 20 48 61 | 6e 64 6c 65 3b 20 65 6e |base: Ha|ndle; en|
|00000190| 74 72 79 3a 20 53 74 72 | 69 6e 67 73 48 61 6e 64 |try: Str|ingsHand|
|000001a0| 6c 65 20 29 3b 0d 70 72 | 6f 63 65 64 75 72 65 20 |le );.pr|ocedure |
|000001b0| 44 61 74 61 62 61 73 65 | 46 69 6e 64 45 6e 74 72 |Database|FindEntr|
|000001c0| 79 28 20 64 61 74 61 62 | 61 73 65 3a 20 48 61 6e |y( datab|ase: Han|
|000001d0| 64 6c 65 3b 20 66 69 65 | 6c 64 3a 20 55 49 6e 74 |dle; fie|ld: UInt|
|000001e0| 33 32 3b 20 63 6f 6e 73 | 74 20 6d 61 74 63 68 3a |32; cons|t match:|
|000001f0| 0d 53 74 72 32 35 35 3b | 20 76 61 72 20 65 6e 74 |.Str255;| var ent|
|00000200| 72 79 3a 20 53 74 72 69 | 6e 67 73 48 61 6e 64 6c |ry: Stri|ngsHandl|
|00000210| 65 20 29 3b 0d 70 72 6f | 63 65 64 75 72 65 20 44 |e );.pro|cedure D|
|00000220| 61 74 61 62 61 73 65 44 | 65 6c 65 74 65 45 6e 74 |atabaseD|eleteEnt|
|00000230| 72 79 28 20 64 61 74 61 | 62 61 73 65 3a 20 48 61 |ry( data|base: Ha|
|00000240| 6e 64 6c 65 3b 20 66 69 | 65 6c 64 3a 20 55 49 6e |ndle; fi|eld: UIn|
|00000250| 74 33 32 3b 20 63 6f 6e | 73 74 20 6d 61 74 63 68 |t32; con|st match|
|00000260| 3a 0d 53 74 72 32 35 35 | 20 29 3b 0d 66 75 6e 63 |:.Str255| );.func|
|00000270| 74 69 6f 6e 20 44 61 74 | 61 62 61 73 65 43 6f 75 |tion Dat|abaseCou|
|00000280| 6e 74 28 20 64 61 74 61 | 62 61 73 65 3a 20 48 61 |nt( data|base: Ha|
|00000290| 6e 64 6c 65 20 29 3a 20 | 55 49 6e 74 33 32 3b 0d |ndle ): |UInt32;.|
|000002a0| 70 72 6f 63 65 64 75 72 | 65 20 44 61 74 61 62 61 |procedur|e Databa|
|000002b0| 73 65 47 65 74 49 6e 64 | 45 6e 74 72 79 28 20 64 |seGetInd|Entry( d|
|000002c0| 61 74 61 62 61 73 65 3a | 20 48 61 6e 64 6c 65 3b |atabase:| Handle;|
|000002d0| 20 69 6e 64 65 78 3a 20 | 55 49 6e 74 33 32 3b 20 | index: |UInt32; |
|000002e0| 76 61 72 20 65 6e 74 72 | 79 3a 0d 53 74 72 69 6e |var entr|y:.Strin|
|000002f0| 67 73 48 61 6e 64 6c 65 | 20 29 3b 0d 0d 59 6f 75 |gsHandle| );..You|
|00000300| 72 20 74 61 73 6b 20 69 | 73 20 74 6f 20 77 72 69 |r task i|s to wri|
|00000310| 74 65 20 61 20 73 65 74 | 20 6f 66 20 72 6f 75 74 |te a set| of rout|
|00000320| 69 6e 65 73 20 74 6f 20 | 6d 61 69 6e 74 61 69 6e |ines to |maintain|
|00000330| 20 61 20 64 61 74 61 62 | 61 73 65 2e 0d 0d 44 61 | a datab|ase...Da|
|00000340| 74 61 62 61 73 65 49 6e | 69 74 20 63 72 65 61 74 |tabaseIn|it creat|
|00000350| 65 73 20 61 20 6e 65 77 | 2c 20 65 6d 70 74 79 20 |es a new|, empty |
|00000360| 64 61 74 61 62 61 73 65 | 20 72 65 61 64 79 20 74 |database| ready t|
|00000370| 6f 20 61 63 63 65 70 74 | 20 72 65 63 6f 72 64 73 |o accept| records|
|00000380| 20 77 69 74 68 0d 66 69 | 65 6c 64 5f 63 6f 75 6e | with.fi|eld_coun|
|00000390| 74 20 73 74 72 69 6e 67 | 20 66 69 65 6c 64 73 2e |t string| fields.|
|000003a0| 20 20 54 68 65 20 64 61 | 74 61 62 61 73 65 20 69 | The da|tabase i|
|000003b0| 73 20 73 74 6f 72 65 64 | 20 69 6e 20 74 68 65 20 |s stored| in the |
|000003c0| 64 61 74 61 62 61 73 65 | 20 48 61 6e 64 6c 65 2e |database| Handle.|
|000003d0| 0d 0d 44 61 74 61 62 61 | 73 65 41 64 64 45 6e 74 |..Databa|seAddEnt|
|000003e0| 72 79 20 61 64 64 73 20 | 61 6e 20 65 6e 74 72 79 |ry adds |an entry|
|000003f0| 20 28 77 68 69 63 68 20 | 69 73 20 61 20 48 61 6e | (which |is a Han|
|00000400| 64 6c 65 20 74 6f 20 66 | 69 65 6c 64 5f 63 6f 75 |dle to f|ield_cou|
|00000410| 6e 74 20 70 61 73 63 61 | 6c 20 73 74 72 69 6e 67 |nt pasca|l string|
|00000420| 73 0d 70 61 63 6b 65 64 | 20 74 6f 67 65 74 68 65 |s.packed| togethe|
|00000430| 72 20 63 6f 6e 63 65 70 | 74 75 61 6c 6c 79 20 6e |r concep|tually n|
|00000440| 75 6d 62 65 72 65 64 20 | 31 20 74 6f 20 66 69 65 |umbered |1 to fie|
|00000450| 6c 64 5f 63 6f 75 6e 74 | 29 0d 0d 44 61 74 61 62 |ld_count|)..Datab|
|00000460| 61 73 65 46 69 6e 64 45 | 6e 74 72 79 20 66 69 6e |aseFindE|ntry fin|
|00000470| 64 73 20 61 6e 20 65 6e | 74 72 79 20 77 68 6f 73 |ds an en|try whos|
|00000480| 65 20 66 69 65 6c 64 20 | 28 62 65 74 77 65 65 6e |e field |(between|
|00000490| 20 31 20 61 6e 64 20 66 | 69 65 6c 64 5f 63 6f 75 | 1 and f|ield_cou|
|000004a0| 6e 74 29 20 73 74 72 69 | 6e 67 0d 69 73 20 65 78 |nt) stri|ng.is ex|
|000004b0| 61 63 74 6c 79 20 65 71 | 75 61 6c 20 74 6f 20 6d |actly eq|ual to m|
|000004c0| 61 74 63 68 2e 20 20 54 | 68 65 20 65 6e 74 72 79 |atch. T|he entry|
|000004d0| 20 69 73 20 72 65 74 75 | 72 6e 65 64 20 69 6e 20 | is retu|rned in |
|000004e0| 61 20 6e 65 77 6c 79 20 | 63 72 65 61 74 65 64 20 |a newly |created |
|000004f0| 68 61 6e 64 6c 65 0d 28 | 77 68 69 63 68 20 77 69 |handle.(|which wi|
|00000500| 6c 6c 20 62 65 20 64 69 | 73 70 6f 73 65 64 20 6f |ll be di|sposed o|
|00000510| 66 20 75 73 69 6e 67 20 | 44 69 73 70 6f 73 65 48 |f using |DisposeH|
|00000520| 61 6e 64 6c 65 29 2e 20 | 20 52 65 74 75 72 6e 20 |andle). | Return |
|00000530| 6e 69 6c 20 69 66 20 6e | 6f 20 6d 61 74 63 68 20 |nil if n|o match |
|00000540| 69 73 0d 66 6f 75 6e 64 | 2e 20 20 49 66 20 6d 6f |is.found|. If mo|
|00000550| 72 65 20 74 68 61 6e 20 | 6f 6e 65 20 65 6e 74 72 |re than |one entr|
|00000560| 79 20 6d 61 74 63 68 65 | 73 2c 20 79 6f 75 20 6d |y matche|s, you m|
|00000570| 75 73 74 20 72 65 74 75 | 72 6e 20 74 68 65 20 65 |ust retu|rn the e|
|00000580| 61 72 6c 69 65 73 74 20 | 61 64 64 65 64 0d 65 6e |arliest |added.en|
|00000590| 74 72 79 2e 0d 0d 44 61 | 74 61 62 61 73 65 44 65 |try...Da|tabaseDe|
|000005a0| 6c 65 74 65 45 6e 74 72 | 79 20 66 69 6e 64 73 20 |leteEntr|y finds |
|000005b0| 74 68 65 20 65 6e 74 72 | 79 20 74 68 61 74 20 44 |the entr|y that D|
|000005c0| 61 74 61 62 61 73 65 46 | 69 6e 64 45 6e 74 72 79 |atabaseF|indEntry|
|000005d0| 20 77 6f 75 6c 64 20 66 | 69 6e 64 2c 20 61 6e 64 | would f|ind, and|
|000005e0| 20 69 66 0d 66 6f 75 6e | 64 20 72 65 6d 6f 76 65 | if.foun|d remove|
|000005f0| 73 20 69 74 20 66 72 6f | 6d 20 74 68 65 20 64 61 |s it fro|m the da|
|00000600| 74 61 62 61 73 65 2e 0d | 0d 44 61 74 61 62 61 73 |tabase..|.Databas|
|00000610| 65 43 6f 75 6e 74 20 72 | 65 74 75 72 6e 73 20 74 |eCount r|eturns t|
|00000620| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 65 6e 74 |he numbe|r of ent|
|00000630| 72 69 65 73 20 69 6e 20 | 74 68 65 20 64 61 74 61 |ries in |the data|
|00000640| 62 61 73 65 2e 0d 0d 44 | 61 74 61 62 61 73 65 47 |base...D|atabaseG|
|00000650| 65 74 49 6e 64 45 6e 74 | 72 79 20 72 65 74 75 72 |etIndEnt|ry retur|
|00000660| 6e 73 20 74 68 65 20 65 | 6e 74 72 69 65 73 20 69 |ns the e|ntries i|
|00000670| 6e 20 74 68 65 20 44 61 | 74 61 62 61 73 65 20 69 |n the Da|tabase i|
|00000680| 6e 20 74 68 65 20 6f 72 | 64 65 72 20 74 68 65 79 |n the or|der they|
|00000690| 20 77 65 72 65 0d 65 6e | 74 65 72 65 64 2c 20 31 | were.en|tered, 1|
|000006a0| 20 66 6f 72 20 74 68 65 | 20 65 61 72 6c 69 65 73 | for the| earlies|
|000006b0| 74 20 65 6e 74 65 72 65 | 64 2c 20 44 61 74 61 62 |t entere|d, Datab|
|000006c0| 61 73 65 43 6f 75 6e 74 | 20 74 68 65 20 6c 61 73 |aseCount| the las|
|000006d0| 74 20 65 6e 74 65 72 65 | 64 2e 0d 0d 41 6c 6c 20 |t entere|d...All |
|000006e0| 74 68 65 20 64 61 74 61 | 62 61 73 65 20 69 6e 66 |the data|base inf|
|000006f0| 6f 72 6d 61 74 69 6f 6e | 20 6d 75 73 74 20 62 65 |ormation| must be|
|00000700| 20 73 74 6f 72 65 64 20 | 69 6e 20 74 68 65 20 72 | stored |in the r|
|00000710| 65 61 6c 20 4d 61 63 20 | 6d 65 6d 6f 72 79 20 6d |eal Mac |memory m|
|00000720| 61 6e 61 67 65 72 0d 68 | 61 6e 64 6c 65 20 2d 20 |anager.h|andle - |
|00000730| 69 74 20 77 69 6c 6c 20 | 62 65 20 64 69 73 70 6f |it will |be dispo|
|00000740| 73 65 64 20 77 69 74 68 | 20 44 69 73 70 6f 73 65 |sed with| Dispose|
|00000750| 48 61 6e 64 6c 65 20 61 | 6e 64 20 74 68 61 74 20 |Handle a|nd that |
|00000760| 6d 75 73 74 20 72 65 6c | 65 61 73 65 20 61 6c 6c |must rel|ease all|
|00000770| 0d 6d 65 6d 6f 72 79 2c | 20 73 6f 20 64 6f 20 6e |.memory,| so do n|
|00000780| 6f 74 20 73 74 6f 72 65 | 20 61 6e 79 20 65 78 74 |ot store| any ext|
|00000790| 72 61 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |ra infor|mation o|
|000007a0| 75 74 73 69 64 65 20 74 | 68 65 20 68 61 6e 64 6c |utside t|he handl|
|000007b0| 65 2e 20 20 41 6c 73 6f | 2c 20 79 6f 75 0d 6d 75 |e. Also|, you.mu|
|000007c0| 73 74 20 62 65 20 61 62 | 6c 65 20 74 6f 20 64 65 |st be ab|le to de|
|000007d0| 61 6c 20 77 69 74 68 20 | 68 61 76 69 6e 67 20 6d |al with |having m|
|000007e0| 75 6c 74 69 70 6c 65 20 | 64 61 74 61 62 61 73 65 |ultiple |database|
|000007f0| 73 20 69 6e 73 74 61 6e | 74 69 61 74 65 64 0d 73 |s instan|tiated.s|
|00000800| 69 6d 75 6c 74 61 6e 65 | 6f 75 73 6c 79 2e 0d 0d |imultane|ously...|
|00000810| 59 6f 75 20 77 69 6c 6c | 20 6e 6f 74 20 62 65 20 |You will| not be |
|00000820| 67 69 76 65 6e 20 69 6e | 76 61 6c 69 64 20 70 61 |given in|valid pa|
|00000830| 72 61 6d 65 74 65 72 73 | 20 73 6f 20 79 6f 75 20 |rameters| so you |
|00000840| 64 6f 6e 27 74 20 6e 65 | 65 64 20 74 6f 20 68 61 |don't ne|ed to ha|
|00000850| 6e 64 6c 65 20 65 72 72 | 6f 72 0d 63 68 65 63 6b |ndle err|or.check|
|00000860| 69 6e 67 2c 20 61 6e 64 | 20 74 68 65 72 65 20 77 |ing, and| there w|
|00000870| 69 6c 6c 20 62 65 20 70 | 6c 65 6e 74 79 20 6f 66 |ill be p|lenty of|
|00000880| 20 6d 65 6d 6f 72 79 2e | 0d 0d 41 6c 6c 20 73 74 | memory.|..All st|
|00000890| 72 69 6e 67 73 20 61 72 | 65 20 63 61 73 65 20 73 |rings ar|e case s|
|000008a0| 65 6e 73 69 74 69 76 65 | 20 28 69 65 2c 20 74 72 |ensitive| (ie, tr|
|000008b0| 65 61 74 65 64 20 61 73 | 20 65 69 67 68 74 20 62 |eated as| eight b|
|000008c0| 69 74 20 62 69 6e 61 72 | 79 20 64 61 74 61 29 2e |it binar|y data).|
|000008d0| 0d 2a 2f 0d 0d 23 69 6e | 63 6c 75 64 65 20 22 53 |.*/..#in|clude "S|
|000008e0| 6f 6c 75 74 69 6f 6e 2e | 68 22 0d 0d 2f 2f 20 46 |olution.|h"..// F|
|000008f0| 69 6c 6c 20 69 6e 20 79 | 6f 75 72 20 73 6f 6c 75 |ill in y|our solu|
|00000900| 74 69 6f 6e 20 61 6e 64 | 20 74 68 65 6e 20 73 75 |tion and| then su|
|00000910| 62 6d 69 74 20 74 68 69 | 73 20 66 6f 6c 64 65 72 |bmit thi|s folder|
|00000920| 0d 0d 2f 2f 20 54 65 61 | 6d 20 4e 61 6d 65 3a 20 |..// Tea|m Name: |
|00000930| 46 49 4c 4c 20 49 4e 20 | 59 4f 55 52 20 54 45 41 |FILL IN |YOUR TEA|
|00000940| 4d 20 4e 41 4d 45 21 0d | 0d 70 61 73 63 61 6c 20 |M NAME!.|.pascal |
|00000950| 76 6f 69 64 20 44 61 74 | 61 62 61 73 65 49 6e 69 |void Dat|abaseIni|
|00000960| 74 28 20 44 61 74 61 62 | 61 73 65 48 61 6e 64 6c |t( Datab|aseHandl|
|00000970| 65 20 2a 64 61 74 61 62 | 61 73 65 2c 20 55 49 6e |e *datab|ase, UIn|
|00000980| 74 33 32 20 66 69 65 6c | 64 5f 63 6f 75 6e 74 20 |t32 fiel|d_count |
|00000990| 29 0d 7b 0d 09 2a 64 61 | 74 61 62 61 73 65 20 3d |).{..*da|tabase =|
|000009a0| 20 6e 69 6c 3b 0d 7d 0d | 0d 70 61 73 63 61 6c 20 | nil;.}.|.pascal |
|000009b0| 76 6f 69 64 20 44 61 74 | 61 62 61 73 65 41 64 64 |void Dat|abaseAdd|
|000009c0| 45 6e 74 72 79 28 20 44 | 61 74 61 62 61 73 65 48 |Entry( D|atabaseH|
|000009d0| 61 6e 64 6c 65 20 64 61 | 74 61 62 61 73 65 2c 20 |andle da|tabase, |
|000009e0| 53 74 72 69 6e 67 73 48 | 61 6e 64 6c 65 20 65 6e |StringsH|andle en|
|000009f0| 74 72 79 20 29 0d 7b 0d | 7d 0d 0d 70 61 73 63 61 |try ).{.|}..pasca|
|00000a00| 6c 20 76 6f 69 64 20 44 | 61 74 61 62 61 73 65 46 |l void D|atabaseF|
|00000a10| 69 6e 64 45 6e 74 72 79 | 28 20 44 61 74 61 62 61 |indEntry|( Databa|
|00000a20| 73 65 48 61 6e 64 6c 65 | 20 64 61 74 61 62 61 73 |seHandle| databas|
|00000a30| 65 2c 20 55 49 6e 74 33 | 32 20 66 69 65 6c 64 2c |e, UInt3|2 field,|
|00000a40| 20 43 6f 6e 73 74 53 74 | 72 32 35 35 50 61 72 61 | ConstSt|r255Para|
|00000a50| 6d 20 6d 61 74 63 68 2c | 20 53 74 72 69 6e 67 73 |m match,| Strings|
|00000a60| 48 61 6e 64 6c 65 20 2a | 65 6e 74 72 79 20 29 0d |Handle *|entry ).|
|00000a70| 7b 0d 09 2a 65 6e 74 72 | 79 20 3d 20 6e 69 6c 3b |{..*entr|y = nil;|
|00000a80| 0d 7d 0d 0d 70 61 73 63 | 61 6c 20 76 6f 69 64 20 |.}..pasc|al void |
|00000a90| 44 61 74 61 62 61 73 65 | 44 65 6c 65 74 65 45 6e |Database|DeleteEn|
|00000aa0| 74 72 79 28 20 44 61 74 | 61 62 61 73 65 48 61 6e |try( Dat|abaseHan|
|00000ab0| 64 6c 65 20 64 61 74 61 | 62 61 73 65 2c 20 55 49 |dle data|base, UI|
|00000ac0| 6e 74 33 32 20 66 69 65 | 6c 64 2c 20 43 6f 6e 73 |nt32 fie|ld, Cons|
|00000ad0| 74 53 74 72 32 35 35 50 | 61 72 61 6d 20 6d 61 74 |tStr255P|aram mat|
|00000ae0| 63 68 20 29 0d 7b 0d 7d | 0d 0d 70 61 73 63 61 6c |ch ).{.}|..pascal|
|00000af0| 20 55 49 6e 74 33 32 20 | 44 61 74 61 62 61 73 65 | UInt32 |Database|
|00000b00| 43 6f 75 6e 74 28 20 44 | 61 74 61 62 61 73 65 48 |Count( D|atabaseH|
|00000b10| 61 6e 64 6c 65 20 64 61 | 74 61 62 61 73 65 20 29 |andle da|tabase )|
|00000b20| 0d 7b 0d 09 72 65 74 75 | 72 6e 20 30 3b 0d 7d 0d |.{..retu|rn 0;.}.|
|00000b30| 0d 70 61 73 63 61 6c 20 | 76 6f 69 64 20 44 61 74 |.pascal |void Dat|
|00000b40| 61 62 61 73 65 47 65 74 | 49 6e 64 45 6e 74 72 79 |abaseGet|IndEntry|
|00000b50| 28 20 44 61 74 61 62 61 | 73 65 48 61 6e 64 6c 65 |( Databa|seHandle|
|00000b60| 20 64 61 74 61 62 61 73 | 65 2c 20 55 49 6e 74 33 | databas|e, UInt3|
|00000b70| 32 20 69 6e 64 65 78 2c | 20 53 74 72 69 6e 67 73 |2 index,| Strings|
|00000b80| 48 61 6e 64 6c 65 20 2a | 65 6e 74 72 79 20 29 0d |Handle *|entry ).|
|00000b90| 7b 0d 09 2a 65 6e 74 72 | 79 20 3d 20 6e 69 6c 3b |{..*entr|y = nil;|
|00000ba0| 0d 7d 0d 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |.}......|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000c10| 2b 30 38 30 30 31 35 3a | 35 35 3a 33 32 20 31 39 |+080015:|55:32 19|
|00000c20| 39 38 00 00 00 00 00 00 | 00 00 b1 78 6a 77 00 00 |98......|...xjw..|
|00000c30| 0b 53 6f 6c 75 74 69 6f | 6e 2e 63 70 61 63 48 61 |.Solutio|n.cpacHa|
|00000c40| 63 6b 20 43 6f 6e 74 65 | 73 74 31 2e 73 69 74 69 |ck Conte|st1.siti|
|00000c50| 02 4a 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |.JPartSI|T!......|
|00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 b1 b0 40 8d 00 00 | 00 00 00 00 01 9a 00 00 |....@...|........|
|00000c80| 00 00 29 bc 7f 92 00 00 | 00 00 20 52 65 3a 20 46 |..).....|.. Re: F|
|00000c90| 6f 6c 64 65 72 20 48 69 | 65 72 61 72 63 68 79 20 |older Hi|erarchy |
|00000ca0| 44 75 70 6c 69 63 61 74 | 69 6f 6e 0d 00 00 00 00 |Duplicat|ion.....|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 04 36 35 37 a4 00 00 |........|..657...|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 01 be ab 00 00 05 f2 |........|........|
|00000ce0| 00 00 02 90 02 07 31 32 | 2f 35 2f 39 38 34 30 30 |......12|/5/98400|
|00000cf0| 30 32 31 3a 30 31 3a 35 | 36 20 31 39 39 38 00 00 |021:01:5|6 1998..|
|00000d00| 00 00 00 48 00 0a 47 65 | 6e 65 76 61 00 00 00 00 |...H..Ge|neva....|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 02 | 00 02 00 3a 00 1d 01 d4 |........|...:....|
|00000d30| 02 93 00 3a 00 1d 01 d4 | 02 93 b1 ae ad 74 00 00 |...:....|.....t..|
|00000d40| 08 6b 00 00 08 6b 00 00 | 04 2b 01 00 00 00 00 04 |.k...k..|.+......|
|00000d50| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00000d60| 00 00 00 46 00 ce 0d f8 | 26 32 00 00 00 1c 00 46 |...F....|&2.....F|
|00000d70| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000d80| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000d90| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+